{{extend 'user_admin_layout.html'}}

{{block sub_menu}}
{{sidemenu('sidemenu','user_admin/users')}}
{{end}}

{{block content_tool}}
{{if request.user.is_superuser:}}
    <a class="btn btn-blue" href="{{=url_for('plugs.user_admin.views_admin.UsersManageView.add')}}">{{=_('Click here to add new user.')}}</a>
{{pass}}
{{end}}

{{block content_main}}
{{use "jquery", ui=True}}

<div class="content">
    <div class="query">
        {{<< query_form}}
    </div>
    {{table_id='users_manage'}}
    {{include "inc_table.html"}}
    <script>
        $(function(){
            create_table("{{=request.path}}");
        });
    </script>
</div>
{{end}}
